package com.itheima.pojo;

import java.io.Serializable;

public class Sport implements Serializable {
    private Integer id;//序号
    private String code;//运动编码
    private String name;//运动名称
    private Integer risk;//运动风险
    private String age;//使用年龄
    private String sportTime;//运动时间
    private String frequency;//运动频率
    private Integer intensity;//运动强度

    private String position;//动作部位
    private String sportMethod;//动作方法

    @Override
    public String toString() {
        return "Sport{" +
                "id=" + id +
                ", code='" + code + '\'' +
                ", name='" + name + '\'' +
                ", risk=" + risk +
                ", age='" + age + '\'' +
                ", sportTime='" + sportTime + '\'' +
                ", frequency='" + frequency + '\'' +
                ", intensity=" + intensity +
                ", position='" + position + '\'' +
                ", sportMethod='" + sportMethod + '\'' +
                '}';
    }

    public Sport(Integer id, String code, String name, Integer risk, String age, String sportTime, String frequency, Integer intensity) {
        this.id = id;
        this.code = code;
        this.name = name;
        this.risk = risk;
        this.age = age;
        this.sportTime = sportTime;
        this.frequency = frequency;
        this.intensity = intensity;
    }

    public Sport() {
    }

    public Integer getIntensity() {
        return intensity;
    }

    public void setIntensity(Integer intensity) {
        this.intensity = intensity;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Integer getRisk() {
        return risk;
    }

    public void setRisk(Integer risk) {
        this.risk = risk;
    }

    public String getAge() {
        return age;
    }

    public void setAge(String age) {
        this.age = age;
    }

    public String getSportTime() {
        return sportTime;
    }

    public void setSportTime(String sportTime) {
        this.sportTime = sportTime;
    }

    public String getFrequency() {
        return frequency;
    }

    public void setFrequency(String frequency) {
        this.frequency = frequency;
    }

    public String getPosition() {
        return position;
    }

    public void setPosition(String position) {
        this.position = position;
    }

    public String getSportMethod() {
        return sportMethod;
    }

    public void setSportMethod(String sportMethod) {
        this.sportMethod = sportMethod;
    }
}
